/* 
 * Copyright [2018] [Alex/libo(liboms@hotmail.com)]
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.template.config;

/** 
 * @title JavaTemplateConfig.java  
 * @package com.hyts.template.config  
 * @description TODO  
 * @see TODO
 * @author libo/Alex
 * @email liboms@hotmail.com/liboware@163.com  
 * @date 2018年5月8日 
 * @version V1.0 
 */
public enum JavaTemplateConfig {
;

		public static enum JavaType {
			
			//类名称
			TYPE("class"),
			
			//枚举
			ENUM("enum"),
			
			//接口
			INTERFACE("interface"),
			
			//注解
			ANNOTATION("@interface");
		
			public String code;

			/**  
			 * @name code's getter method
			 * @param none
			 * @return code
			 */
			public String getCode() {
				return code;
			}

			/**  
			 * @name code's setter method
			 * @param code
			 * @return void
			 */
			public void setCode(String code) {
				this.code = code;
			}
			
			/**  
			 * @constructor：JavaType  
			 * @param code  
			 */ 
			
			private JavaType(String code) {
				this.code = code;
			}
			
		}
		

		public static enum JavaKeyWord {
			
			//包
			PACKAGE("package"),
			
			//导入
			IMPORT("import"),
		
			//点标志服
			TOKEN_POINT("."),
			
			ANNOTATION("@");
			
			public String code;

			/**  
			 * @name code's getter method
			 * @param none
			 * @return code
			 */
			public String getCode() {
				return code;
			}

			/**  
			 * @name code's setter method
			 * @param code
			 * @return void
			 */
			public void setCode(String code) {
				this.code = code;
			}
			
			/**  
			 * JavaKeyWord  
			 * @param code  
			 */ 
			
			private JavaKeyWord(String code) {
				this.code = code;
			}
			
		}
		
		public static enum DefaultConfig {
			
			
			DEFAULT_JAVA_ACCESS_TYPE("public"),
		
			DEFAULT_JAVA_TYPE("class"),
			
			DEFAULT_METHOD_ACCESS_TYPE("public"),
			
			DEFAULT_FIELD_ACCESS_TYPE("public"),
			
			DEFAULT_FIELD_RETURN_TYPE("Object");

			
			public String code;

			/**  
			 * @name code's getter method
			 * @param none
			 * @return code
			 */
			public String getCode() {
				return code;
			}

			/**  
			 * @name code's setter method
			 * @param code
			 * @return void
			 */
			public void setCode(String code) {
				this.code = code;
			}
			
			/**  
			 * DefaultConfig  
			 * @param code  
			 */ 
			private DefaultConfig(String code) {
				this.code = code;
			}
			
		}
		
	

	
}
